package cn.lili.modules.system.fallback;

import cn.lili.common.exception.ServiceException;
import cn.lili.modules.system.client.SmsClient;
import cn.lili.modules.system.entity.params.SmsParams;
import org.springframework.stereotype.Component;

/**
 * @author: ftyy
 * @date: 2022-01-17 11:32
 * @description: 短信Fallback
 */
public class SmsFallback implements SmsClient {
    @Override
    public void sendSmsCode(SmsParams smsParams) {
        throw new ServiceException();
    }

    @Override
    public boolean verifyCode(SmsParams smsParams) {
        throw new ServiceException();
    }

    @Override
    public void sendSmsCode(SmsParams smsParams, String templateCode) {
        throw new ServiceException();
    }

    @Override
    public void sendBatchSms(SmsParams smsParams) {
        throw new ServiceException();
    }
}
